<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>Code Snippet - &quot;<s:property value="subjectField" />&quot;</title>
  <link rel="stylesheet" href="../default.css" />
</head>
<body>
    <div id="main">
      <div id="content">
        <div id="login">
          <div id="login-left">Welcome <s:property value="userName" /></div>
          <div id="login-right"><a href="<s:property value='logoutUrl' />">Logout</a></div>
        </div>
        <div id="block">
          <h1>Code Snippet Repository</h1>
          <h3>View Code Snippet - <s:property value="subjectField" /></h3>
        </div>
        <div id="strip">
          <a href="/index">Home</a>
          <s:property value="additionalLinks" escape="false"/>
        </div>
        <div id="block">
          <h2><s:property value="subjectField" /></h2>
          <p>by <b><s:property value="authorEmailField" /></b></p>
          <h4>Programming Language</h4>
          <p><s:property value="languageField" /></p>
          <h4>Reference Link</h4>
          <p><s:property value="referenceUrlField" /></p>
          <h4>Keyword</h4>
          <p>
            <s:property value="keywordsField"/>,
          </p>
          <h4>Related Method Calls</h4>
          <p>
            <s:property  value="relatedMethodsField"/>,
          </p>
          <h3>Code Sample</h3>
<pre>
<s:property value="codeSnippetField" />
</pre>
          <h3>Comments</h3>
          <p>
            <s:property value="relatedCommentsField" />
          </p>
        </div>
        <div id="strip"></div>
      </div>
    </div>
    <br/>
    <br/>
</body>
</html>